/**
 * 投诉信息dao层接口
 */
package com.bys.ots.dao;

import com.bys.ots.model.Complaint;
import com.bys.ots.model.ComplaintRecord;
import com.bys.ots.model.ComplaintVal;
import com.bys.ots.model.Email;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author bairuihua 2019/11/25
 */

@Mapper
public interface ComplaintRecordMapper {

    ComplaintRecord findByUserIdAndSoAndNow(@Param("userId") String userId, @Param("so") String so);

    int insert(ComplaintRecord complaintRecord);

    List<Email> findEmailBySo(@Param("so") String so);
}
